package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.CustomerLocationDTO;
import com.hunttown.mes.rpc.domain.query.CustomerLocationDTOQuery;

/**
 * created by wangjunfu on 2021-06-08 14:12:18
 */
public interface CustomerLocationRpcService {

    CustomerLocationDTO insert(CustomerLocationDTO customerLocationDTO);

    Boolean updateInfoById(CustomerLocationDTO customerLocationDTO);

    Boolean updateInfoByQuery(CustomerLocationDTOQuery customerLocationDTOQuery);

    CustomerLocationDTO selectById(Integer id);

    CustomerLocationDTO selectObjByQuery(CustomerLocationDTOQuery customerLocationDTOQuery);

    Page<CustomerLocationDTO> getListForPage(CustomerLocationDTOQuery customerLocationDTOQuery);

    Boolean deleteById(Integer id);
}